package com.zzl.finance.data.constant;

/**
 * 异常枚举类
 *
 * @author szsw
 * @date 2021/12/22 21:18:18
 */
public enum SysExceptionEnum {

    /**
     *
     */
    FINANCIAL_PRODUCT_EXCUTE_SCRIPT_GET_DETAIL_ERROR            ("B_0000001", "金融产品获取相关信息执行JavaScript脚本获取失败！"),
    FINANCIAL_PRODUCT_CANNOT_FIND_PRODUCT_BY_ID_EXCEPTION       ("B_0000002", "没能通过id找到对应的金融产品！"),
    FINANCIAL_PRODUCT_FEIGN_CANNOT_FIND_TICKET_BY_ID_EXCEPTION  ("B_0000003", "没能通过id找到对应的票据信息！"),
    FINANCIAL_PRODUCT_EXCUTE_SCRIPT_CALCULATE_ERROR             ("B_0000004", "金融产品获取相关信息执行JavaScript脚本获取失败！"),
    ;
    private String code;
    private String msg;

    SysExceptionEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
